﻿using System.Threading.Tasks;

public interface IExternalApiService
{
    Task<ExternalApiResponse> GetExternalDataAsync(ChannelConfig channelConfig, string openid, string id);
}

public class ExternalApiResponse
{
    public string Url { get; set; }
    public int X { get; set; }
}